<template>
  <div class="">
    <!-- index 是我们定义的带有底部导航的入口组件 -->
    <keep-alive>
      <router-view></router-view>
    </keep-alive>

    <van-tabbar route>
      <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/my">会员</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/shopcar">购物车</van-tabbar-item>
      <van-tabbar-item icon="setting-o" to="/search">搜索</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {},
  components: {},
};
</script>

<style lang="scss"></style>
